package com.jiayang.hhotel.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by Administrator on 2017/5/17 0017.
 * 可租房数据类
 */

public class CanRentRoomModel implements IModel {

    /**
     * state : 9
     * info :
     * pForcastRoomDtoList : [{"type":"AA","descp":"标间","rms1":1,"rms2":1,"rms3":6},{"type":"AA","descp":"标间","rms1":1,"rms2":1,"rms3":6}]
     */

    private int state;//房间类型
    private String info;//房间描述
    private List<PForcastRoomDtoListBean> pForcastRoomDtoList;

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<PForcastRoomDtoListBean> getPForcastRoomDtoList() {
        return pForcastRoomDtoList;
    }

    public void setPForcastRoomDtoList(List<PForcastRoomDtoListBean> pForcastRoomDtoList) {
        this.pForcastRoomDtoList = pForcastRoomDtoList;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class PForcastRoomDtoListBean {
        /**
         * type : AA
         * descp : 标间
         * rms1 : 1
         * rms2 : 1
         * rms3 : 6
         */

        private String type;
        private String descp;
        private int rms1;
        private int rms2;
        private int rms3;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getDescp() {
            return descp;
        }

        public void setDescp(String descp) {
            this.descp = descp;
        }

        public int getRms1() {
            return rms1;
        }

        public void setRms1(int rms1) {
            this.rms1 = rms1;
        }

        public int getRms2() {
            return rms2;
        }

        public void setRms2(int rms2) {
            this.rms2 = rms2;
        }

        public int getRms3() {
            return rms3;
        }

        public void setRms3(int rms3) {
            this.rms3 = rms3;
        }
    }
}
